/*
 * @Author: wangcb
 * @Email: wangcbgg@163.com
 * @Date: 2021-10-21 17:58:53
 * @LastEditTime: 2021-12-23 18:20:17
 * 公共接口及枚举
 */
/**
 * 方向枚举（只读）
 * @readonly
 * @enum {LEFT | RIGHT | UP | DOWN}
 * @example
 * let left = DIR.LEFT;// 向左的枚举值即'left'
 * let right = DIR.RIGHT;// 向右的枚举值即'right'
 * let up = DIR.UP;// 向上的枚举值即'up'
 * let down = DIR.DOWN;// 向下的枚举值即'down'
 */
export var DIR;
(function (DIR) {
    DIR["LEFT"] = "left";
    DIR["RIGHT"] = "right";
    DIR["UP"] = "up";
    DIR["DOWN"] = "down";
})(DIR || (DIR = {}));
/**
 * 当前文档可视区分辨率
 * @readonly
 */
export const viewSize = document.body.getBoundingClientRect();
